package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.BitCard;
import com.qiyeji.real_estate.entity.BitCardKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BitCardMapper {
    int deleteByPrimaryKey(BitCardKey key);

    int insert(BitCard record);

    int insertSelective(BitCard record);

    BitCard selectByPrimaryKey(BitCardKey key);

    int updateByPrimaryKeySelective(BitCard record);

    int updateByPrimaryKey(BitCard record);

    List<BitCard> getBitCardByStartTime(String starttime);

    List<BitCard> getAllBitCard();

    BitCard selectBySCodeandStartTime(String sCode, String startTime);

    int updateForSignOut(BitCard record);

    List<BitCard> getAllDataBySCode(String sCode);
}